/**
 *
 *
 * 
 *
 * 
 */

package io.dbw.modules.business.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import io.dbw.modules.business.entity.SysRoleEntity;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色管理
 *
 * 
 */
@Mapper
public interface SysRoleDao extends BaseMapper<SysRoleEntity> {
	
	/**
	 * 查询用户创建的角色ID列表
	 */
	List<Long> queryRoleIdList(@Param("createBy") Long createBy);


	List<Long> getRoleIdByName(@Param("roleName") String roleName);
}
